package com.gc.server.vo;

import lombok.Getter;


/**
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Apr 23 17:07:10 CST 2020
 */
@Getter
public enum ImgOrderStatusEnum {


                   WAIT(0,"待审核")
                                    ,


                   PASS(1,"通过")
                                    ,


                   REFUSE(2,"拒绝")

                                ;


        int index;
        String value;

    ImgOrderStatusEnum(int index,String value) {
        this.index = index;
        this.value = value;
        }

    public static String indexOf(int idx) {
        return ImgOrderStatusEnum.values()[idx].getValue();
    }

}
